package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author codingBee
 * @since 2021/5/14/19:15
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService
{
    @Override
    public String paymentInfo_OK(String id) {
        return "------------PaymentFallbackService.paymentInfo_OK----";
    }

    @Override
    public String paymentInfo_TimeOut(String id) {
        return "------------PaymentFallbackService.paymentInfo_TimeOut";
    }
}
